]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
mount-operation: fix indentation for some callbacks
authorCosimo Cecchi <cosimoc@gnome.org>
Wed, 20 Jun 2012 20:14:02 +0000 (16:14 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Thu, 21 Jun 2012 02:21:23 +0000 (22:21 -0400)
Nothing to see here, move along.

https://bugzilla.gnome.org/show_bug.cgi?id=674962

js/ui/shellMountOperation.js

index 11cc613c17ad1c5367d4822b484c5ec9d39e3097..dd4910a554bbafe237c7e29a8854b40cc0fe8fc5 100644 (file)
@@ -132,13 +132,13 @@ const ShellMountOperation = new Lang.Class({
         this._closeExistingDialog();
         this._dialog = new ShellMountQuestionDialog(this._gicon);
 
-        this._dialogId = this._dialog.connect('response',
-                               Lang.bind(this, function(object, choice) {
-                                   this.mountOp.set_choice(choice);
-                                   this.mountOp.reply(Gio.MountOperationResult.HANDLED);
+        this._dialogId = this._dialog.connect('response', Lang.bind(this,
+            function(object, choice) {
+                this.mountOp.set_choice(choice);
+                this.mountOp.reply(Gio.MountOperationResult.HANDLED);
 
-                                   this.close();
-                               }));
+                this.close();
+            }));
 
         this._dialog.update(message, choices);
         this._dialog.open();
@@ -190,17 +190,17 @@ const ShellMountOperation = new Lang.Class({
             this._processesDialog = new ShellProcessesDialog(this._gicon);
             this._dialog = this._processesDialog;
 
-            this._dialogId = this._processesDialog.connect('response',
-                                          Lang.bind(this, function(object, choice) {
-                                              if (choice == -1) {
-                                                  this.mountOp.reply(Gio.MountOperationResult.ABORTED);
-                                              } else {
-                                                  this.mountOp.set_choice(choice);
-                                                  this.mountOp.reply(Gio.MountOperationResult.HANDLED);
-                                              }
-
-                                              this.close();
-                                          }));
+            this._dialogId = this._processesDialog.connect('response', Lang.bind(this,
+                function(object, choice) {
+                    if (choice == -1) {
+                        this.mountOp.reply(Gio.MountOperationResult.ABORTED);
+                    } else {
+                        this.mountOp.set_choice(choice);
+                        this.mountOp.reply(Gio.MountOperationResult.HANDLED);
+                    }
+
+                    this.close();
+                }));
             this._processesDialog.open();
         }